package com.hjxr.sysadmin.zsj.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 政策信息对象 policys
 *
 * @date 2021-03-08
 */
public class Policys extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 政策ID */
	private Long policyId;

	/** 政策名称 */
	@Excel(name = "政策名称")
	private String policyTitle;

	/** 政策级别 */
	@Excel(name = "政策级别")
	private String policyLevel;

	/** 政策状态 */
	@Excel(name = "政策状态")
	private String policyStatus;

	/** 政策类型 */
	@Excel(name = "政策类型")
	private String policyType;

	/** 政策来源 */
	@Excel(name = "政策来源")
	private String policySource;

	/** 政策内容 */
	@Excel(name = "政策内容")
	private String policyContent;

	/** 政策发布时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "政策发布时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date policyFbtime;

	/** 政策索引号 */
	@Excel(name = "政策索引号")
	private String policyIndexnum;

	/** 政策文号 */
	@Excel(name = "政策文号")
	private String policyDocnum;

	/** 政策发文时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "政策发文时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date policyFwtime;

	/** 是否撤销(1为否,0为是) */
	@Excel(name = "是否撤销(1为否,0为是)")
	private String ifCancel;

	/** 撤销时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "撤销时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date cancelTime;

	/** 最后修改时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date modifiedTime;

	public void setPolicyId(Long policyId) {
		this.policyId = policyId;
	}

	public Long getPolicyId() {
		return policyId;
	}

	public void setPolicyTitle(String policyTitle) {
		this.policyTitle = policyTitle;
	}

	public String getPolicyTitle() {
		return policyTitle;
	}

	public void setPolicyLevel(String policyLevel) {
		this.policyLevel = policyLevel;
	}

	public String getPolicyLevel() {
		return policyLevel;
	}

	public void setPolicyStatus(String policyStatus) {
		this.policyStatus = policyStatus;
	}

	public String getPolicyStatus() {
		return policyStatus;
	}

	public void setPolicyType(String policyType) {
		this.policyType = policyType;
	}

	public String getPolicyType() {
		return policyType;
	}

	public void setPolicySource(String policySource) {
		this.policySource = policySource;
	}

	public String getPolicySource() {
		return policySource;
	}

	public void setPolicyContent(String policyContent) {
		this.policyContent = policyContent;
	}

	public String getPolicyContent() {
		return policyContent;
	}

	public void setPolicyFbtime(Date policyFbtime) {
		this.policyFbtime = policyFbtime;
	}

	public Date getPolicyFbtime() {
		return policyFbtime;
	}

	public void setPolicyIndexnum(String policyIndexnum) {
		this.policyIndexnum = policyIndexnum;
	}

	public String getPolicyIndexnum() {
		return policyIndexnum;
	}

	public void setPolicyDocnum(String policyDocnum) {
		this.policyDocnum = policyDocnum;
	}

	public String getPolicyDocnum() {
		return policyDocnum;
	}

	public void setPolicyFwtime(Date policyFwtime) {
		this.policyFwtime = policyFwtime;
	}

	public Date getPolicyFwtime() {
		return policyFwtime;
	}

	public void setIfCancel(String ifCancel) {
		this.ifCancel = ifCancel;
	}

	public String getIfCancel() {
		return ifCancel;
	}

	public void setCancelTime(Date cancelTime) {
		this.cancelTime = cancelTime;
	}

	public Date getCancelTime() {
		return cancelTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("policyId", getPolicyId())
				.append("policyTitle", getPolicyTitle()).append("policyLevel", getPolicyLevel())
				.append("policyStatus", getPolicyStatus()).append("policyType", getPolicyType())
				.append("policySource", getPolicySource()).append("policyContent", getPolicyContent())
				.append("policyFbtime", getPolicyFbtime()).append("policyIndexnum", getPolicyIndexnum())
				.append("policyDocnum", getPolicyDocnum()).append("policyFwtime", getPolicyFwtime())
				.append("ifCancel", getIfCancel()).append("cancelTime", getCancelTime())
				.append("modifiedTime", getModifiedTime()).toString();
	}
}
